using System;
using CStock;

namespace CStock
{
	/// <summary>
	/// Summary description for VariantParameter.
	/// </summary>
	public class VariantParameter: IVariantParameter
	{

		private  string name ;
		private  string display ;
		private  string alternativName ;
		
		private  int index ;
		private object val;
		private object valueType;
		
		public  string Name 
		{
			get
			{
				return name;
			}
			set
			{
				this.name = value;
			}
		}
		public  string Display 
		{
			get
			{
				return display;
			}
			set
			{
				this.display = value;
			}
		}
		public  string AlternativName 
		{
			get
			{
				return alternativName;
			}
			set
			{
				this.alternativName = value;
			}
		}
		public  int Index 
		{
			get
			{
				return index;
			}
			set
			{
				this.index = value;
			}
		}
		public  object Value 
		{
			get
			{
				return val;
			}
			set
			{
				this.val = value;
			}
		}
		public  object ValueType 
		{
			get
			{
				return valueType;
			}
			set
			{
				this.valueType = value;
			}
		}
		#region Constructors
		public VariantParameter()
		{
		}
		public VariantParameter(string name,object valueType):this()
		{
			this.Name=name;
			this.ValueType=valueType;
		}
		public VariantParameter(string name,object valueType,object newValue):this(name,valueType)
		{
			this.Value=newValue;
		}
		public VariantParameter(string name,object valueType,object newValue,string alternativName):this(name,valueType,newValue)
		{
			this.AlternativName=alternativName;
		}
		#endregion
	}
}
//
